import {
  Button ,
  Message ,
  Container ,
  Header ,
  Aside ,
  Main ,
  Footer ,
  Dialog ,
  Menu ,
  Submenu ,
  MenuItem ,
  MenuItemGroup ,
  Form ,
  FormItem ,
  Input ,
  Select ,
  Option ,
  Cascader ,
  Loading ,
  Notification ,
  MessageBox ,
  Carousel ,
  CarouselItem ,
  Card ,
  Tabs ,
  TabPane ,
  Row ,
  Col ,
  Image ,
  Icon ,
  Step ,
  Steps ,
  DatePicker ,
  Radio ,
  RadioGroup ,
  Table ,
  TableColumn ,
  Checkbox ,
  CheckboxGroup ,
  Upload ,
  Pagination ,
  Alert ,
  Empty ,
  Link ,
  Divider ,
  Popover ,
  Tooltip ,
  InfiniteScroll ,
  InputNumber ,
  Badge ,
  Popconfirm
} from "element-ui";
import 'element-ui/lib/theme-chalk/index.css';
export default {
  install(Vue) {
      Vue.prototype.$loading = Loading.service;
      Vue.prototype.$notify = Notification;
      Vue.prototype.$message = Message;
      Vue.prototype.$msgBox = MessageBox;
      Vue.prototype.$alert = MessageBox.alert;
      Vue.prototype.$confirm = MessageBox.confirm;
      Vue.use(Button)
          .use(Container)
          .use(Header)
          .use(Aside)
          .use(Main)
          .use(Footer)
          .use(Dialog)
          .use(Menu)
          .use(Submenu)
          .use(MenuItem)
          .use(MenuItemGroup)
          .use(Input)
          .use(Form)
          .use(FormItem)
          .use(Cascader)
          .use(Select)
          .use(Option)
          .use(Carousel)
          .use(CarouselItem)
          .use(Card)
          .use(Tabs)
          .use(TabPane)
          .use(Row)
          .use(Col)
          .use(Icon)
          .use(Image)
          .use(Step)
          .use(Steps)
          .use(DatePicker)
          .use(Radio)
          .use(RadioGroup)
          .use(Table)
          .use(TableColumn)
          .use(Checkbox)
          .use(CheckboxGroup)
          .use(Upload)
          .use(Pagination)
          .use(Alert)
          .use(Empty)
          .use(Link)
          .use(Popover)
          .use(Divider)
          .use(Tooltip)
          .use(InputNumber)
          .use(InfiniteScroll)
          .use(Popconfirm)
          .use(Badge);
  } ,
};